c program to find norm of a matrix